package com.hospital.wx.pojo;

import cn.hutool.core.date.DateTime;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

/*
* 挂号就诊预约订单实体类
* */
@Data
public class appointmentOrder {
    private static final long serialVersionUID = 1L;
    private BigInteger id;                           //主键ID
    private String orderId;                     //订单ID
    private String orderNo;                     //订单编号
    private int doctorId;                       //医生ID
    private Integer doctorName;                 //医生姓名
    private Integer deptName;                   //科室名称
    private Integer deptSubId;                  //诊室ID
    private Integer scheduleId;                  //计划表ID
    private Integer workPlanId;                 //医生排班ID
    private Date appointmentDate;              //预约日期
    private String timeSlot;                  //预约时间段
    private String visitType;                  //就诊类型(图文、视频、门诊)
    private Byte amount;                      //付款金额
    private int status;                      //订单状态(订单状态：0待支付，1已支付，2已取消，3已完成，4退款中，5已退款)
    private DateTime createTime;               //订单创建时间
    private DateTime payTime;                   //支付时间
    private DateTime cancelTime;                //取消订单时间
    private DateTime completeTime;                //完成时间
    private DateTime refundApplyTime;            //申请退款时间
    private DateTime refundTime;                  //退款时间
    private int patientId;                        //患者ID
    private String patientName;                  //患者姓名
    private String patientPhoto;                 //患者头像
    private String transactionId;                 //微信支付交易号
    private String outTradeNo;                     //商户订单号
    private String remark;                       //订单备注

}